<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			 this.$eventBus.$on('switchTab', (index) => {
			  console.log(`当前选中了第${index + 1}个tab`)
			})
		},
	onTabItemTap : function(e) {
		console.log('zhangshu' ,e);
		// e的返回格式为json对象： {"index":0,"text":"首页","pagePath":"pages/index/index"}
	},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang='less'>

@import "colorui/main.css";
@import "colorui/icon.css";
@import "./style/color.less";
@import "./style/color-expand.less";
@import "./style/reset.less";
@import url("./common/css/iconfont.css");
@import './style/animate.css';
/*每个页面公共css */
.popup_login {
  .bottom {
    border-top-left-radius: 20rpx;
    border-top-right-radius: 20rpx;
  }
  /deep/.vue-ref {
    border-top-left-radius: 20rpx;
    border-top-right-radius: 20rpx;
  }
}

radio .wx-radio-input.wx-radio-input-checked{
	background-image: linear-gradient(146deg, #CBB19C 0%, #B69378 86%);
	border-color: #CBB19C !important;
}

button[type=default][plain] {
    background-color: #272525 !important;
    border: 1px solid #353535 !important;
    color: #fff;
}

button[type=primary][plain] {
    background-color: #FFFFFF !important;
    border: 1px solid #FFFFFF !important;
    color: #161313a6;
}
/* #endif */

</style>
